Get<T>(DicomDataSet,DicomElement) Method

Summary

Gets the specified data from the DICOM data set and assigns it in a new instance of T.

Syntax
C#
VB
C++
public static T Get<T>( 
   this DicomDataSet ds, 
   DicomElement parent 
) 
<ExtensionAttribute()> 
Public Overloads Shared Function Get(Of T As {})( _ 
   ByVal ds As DicomDataSet, _ 
   ByVal parent As DicomElement _ 
) As T 
[ExtensionAttribute()] 
public: 
static _T^_ Getgeneric<typename T> 
(  
   DicomDataSet^ ds, 
   DicomElement^ parent 
)  
where T : gcnew()  

Parameters

ds
The data set to read the information from.

parent
The parent DicomElement that specifies where to start reading in the DicomDataSet.

Type Parameters

T
The type of data to get from the DICOM data set.

Return Value

A new instance of T with the information from the DICOM data set.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly